# http://www.gnu.org/copyleft/gpl.html
all:
	@gcc AnsiSupport.c -c -Wall -std=c99
	@gcc DllSpoof.c -c -Wall -std=c99
	@dllwrap --def DllSpoof.def DllSpoof.o -o DllSpoof.dll --output-lib DllSpoof.lib
	@dllwrap --def AnsiSupport.def AnsiSupport.o DllSpoof.lib -o AnsiSupport.dll
	@g++ patcher.cpp -o patcher.exe
